package com.shse.sale.service.impl;

import com.shse.sale.dao.UserDao;
import com.shse.sale.meta.User;
import com.shse.sale.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by shse on 3/18/2016.
 * 用户service实现
 */
@Service("userService")
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;

    @Override
    public User login(String userName, String password) {
        return userDao.login(userName, password);
    }
}
